package com.engc.common.bean;

import java.util.ArrayList;
import java.util.List;

public class DbView {
	private String name;
	private String display;
	private List<DbColumn> columns;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}

	public List<DbColumn> getColumns() {
		return columns;
	}

	public void setColumns(List<DbColumn> columns) {
		this.columns = columns;
	}
	public void addColumns(DbColumn column) {
		if(this.columns==null){
			this.columns = new ArrayList<DbColumn>();
		}
		this.columns.add(column);
	}

}
